package sample;

import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.control.Button;
import javafx.stage.DirectoryChooser;
import javafx.stage.Stage;

import java.io.File;

public class GroupButton {
    public static String  themeURL = "";


//    public static Button CutTheme(Stage primaryStage){
//
////        Button button = new Button("切换主题");
////        button.setOnAction(new EventHandler<ActionEvent>() {
////            @Override
////            public void handle(ActionEvent event) {
////
////                DirectoryChooser directoryChooser = new DirectoryChooser();
////                directoryChooser.setTitle("选择主题");
////                File chosenDir = directoryChooser.showDialog(primaryStage);
////                if (chosenDir != null) {
////
////                    String url = chosenDir.getAbsolutePath();
////                     themeURL = url;
////                    System.out.println(url);
////                } else {
////                    System.out.print("no directory chosen");
////                }
////
////
////
////            }
////        });
//
//
//
//        return button;
//    }

    public static Button playPack(){
        Button button = new Button("打包");

        return button;
    }

}
